package com.iss.card.model;

import java.io.Serializable;

import com.iss.card.webservice.BaseModel;

public class StoreDetailInfo extends BaseModel implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2202831204752617397L;
	private static final String SDKEY_STORE_NAME = "storeName";
	private static final String SDKEY_STORE_ADDRESS = "storeAddress";
	private static final String SDKEY_STORE_LATITUDE = "storeLatitude";
	private static final String SDKEY_STORE_LONGITUDE = "storeLongitude";
	private static final String SDKEY_STORE_MOBILE = "storeMobile";
	private static final String SDKEY_STORE_OWNER_NAME = "storeOwenerName";
	private static final String SDKEY_STORE_OWNER_ID = "storeOwnerID";
	
	private String mStoreId;
	private String mStoreName;
	private String mStoreAddress;
	private float mStoreLatitude;
	private float mStoreLongitude;
	private String mStoreOwnerID;
	private String mStoreOwnerName;
	private String mStoreMobile;
	
	/**
	 * @return the mStoreId
	 */
	public synchronized final String getStoreId() {
		return mStoreId;
	}

	/**
	 * @param storeId the mStoreId to set
	 */
	public synchronized final void setStoreId(String storeId) {
		this.mStoreId = storeId;
	}

	/**
	 * @return the mStoreName
	 */
	public synchronized String getStoreName() {
		return mStoreName;
	}



	/**
	 * @param storeName the mStoreName to set
	 */
	public synchronized void setStoreName(String storeName) {
		this.mStoreName = storeName;
	}



	/**
	 * @return the mStoreAddress
	 */
	public synchronized String getStoreAddress() {
		return mStoreAddress;
	}



	/**
	 * @param storeAddress the mStoreAddress to set
	 */
	public synchronized void setStoreAddress(String storeAddress) {
		this.mStoreAddress = storeAddress;
	}



	/**
	 * @return the mStoreLatitude
	 */
	public synchronized float getStoreLatitude() {
		return mStoreLatitude;
	}



	/**
	 * @param storeLatitude the mStoreLatitude to set
	 */
	public synchronized void setStoreLatitude(float storeLatitude) {
		this.mStoreLatitude = storeLatitude;
	}



	/**
	 * @return the mStoreLongitude
	 */
	public synchronized float getStoreLongitude() {
		return mStoreLongitude;
	}



	/**
	 * @param storeLongitude the mStoreLongitude to set
	 */
	public synchronized void setStoreLongitude(float storeLongitude) {
		this.mStoreLongitude = storeLongitude;
	}



	/**
	 * @return the mStoreOwnerID
	 */
	public synchronized String getStoreOwnerID() {
		return mStoreOwnerID;
	}



	/**
	 * @param storeOwnerID the mStoreOwnerID to set
	 */
	public synchronized void setStoreOwnerID(String storeOwnerID) {
		this.mStoreOwnerID = storeOwnerID;
	}



	/**
	 * @return the mStoreOwnerName
	 */
	public synchronized String getStoreOwnerName() {
		return mStoreOwnerName;
	}



	/**
	 * @param storeOwnerName the mStoreOwnerName to set
	 */
	public synchronized void setStoreOwnerName(String storeOwnerName) {
		this.mStoreOwnerName = storeOwnerName;
	}



	/**
	 * @return the mStoreMobile
	 */
	public synchronized String getStoreMobile() {
		return mStoreMobile;
	}



	/**
	 * @param storeMobile the mStoreMobile to set
	 */
	public synchronized void setStoreMobile(String storeMobile) {
		this.mStoreMobile = storeMobile;
	}

	@Override
	public void addValues(String tempString, String valueString,
			BaseModel baseMode) {
		if (null == tempString) {
			return;
		}
		if (tempString.equals(SDKEY_STORE_OWNER_ID)) {
			this.mStoreOwnerID = valueString;
		} else if (tempString.equals(SDKEY_STORE_OWNER_NAME)) {
			this.mStoreOwnerName = valueString;
		} else if (tempString.equals(SDKEY_STORE_MOBILE)) {
			this.mStoreMobile = valueString;
		} else if (tempString.equals(SDKEY_STORE_NAME)) {
			this.mStoreName = valueString;
		} else if (tempString.equals(SDKEY_STORE_ADDRESS)) {
			this.mStoreAddress = valueString;
		} else if (tempString.equals(SDKEY_STORE_LATITUDE)) {
			this.mStoreLatitude = Float.valueOf(valueString);
		} else if (tempString.equals(SDKEY_STORE_LONGITUDE)) {
			this.mStoreLongitude = Float.valueOf(valueString);
		}
		baseMode = this;
	}
}
